package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @author chnejc
 * @date 2023/6/12
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "vms_user_vehicle_rel")
public class VmsUserVehicleRel {
    /**
     * 合同id
     */
    @TableField(value = "user_id")
    private String userId;
    /**
     * 房间id
     */
    @TableField(value = "vehicle_id")
    private String vehicleId;

    @TableLogic(value = "0", delval = "1")
    @TableField(value = "is_del")
    private Integer isDel;

    @TableField(value = "create_user")
    private String createUser;

    @TableField(value = "create_timea")
    private Date createTime;
}
